package system.model;

import system.common.Constants;
import collector.core.util.StringUtil;

/**
 * <pre>
 * Class : system.model.DB5_NetKeyDto / DB5_NetKeyDto.java
 * 	Define Class Object : 
 * <br>
 * </pre>
 * @author hwanLee / apexcns,Inc.
 * @version 1.1
 * @see javadoc
 * @since 2012. 9. 10.
 */
public class DB5_NetKeyDto { 
	private String timestamp;
	private String user_name;
	private String user_real_name;
	private String dept_name;
	private String calling_station_id;
	private String framed_ip_address;
	private String nas_ip_address;
	private String nas_port_no;
	private String client_ip_address;
	private String user_policy_profile_name;
	private String auth_type;
	private String result;
	private String cause_code;
	private String cause;
	private String quarantine;
	
	/** <pre>
	 * Method : DB5_NetKeyDto.getTimestamp()
	 * 	to get timestamp
	 * <br> 
	 * @return the timestamp : type of String
	 * </pre>
	 */
	public String getTimestamp() {
		return timestamp;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setTimestamp()
	 * 	to set timestamp
	 * <br> 
	 * @return the timestamp : type of String
	 * </pre>
	 */
	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getUser_name()
	 * 	to get user_name
	 * <br> 
	 * @return the user_name : type of String
	 * </pre>
	 */
	public String getUser_name() {
		return user_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setUser_name()
	 * 	to set user_name
	 * <br> 
	 * @return the user_name : type of String
	 * </pre>
	 */
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getUser_real_name()
	 * 	to get user_real_name
	 * <br> 
	 * @return the user_real_name : type of String
	 * </pre>
	 */
	public String getUser_real_name() {
		return user_real_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setUser_real_name()
	 * 	to set user_real_name
	 * <br> 
	 * @return the user_real_name : type of String
	 * </pre>
	 */
	public void setUser_real_name(String user_real_name) {
		this.user_real_name = user_real_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getDept_name()
	 * 	to get dept_name
	 * <br> 
	 * @return the dept_name : type of String
	 * </pre>
	 */
	public String getDept_name() {
		return dept_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setDept_name()
	 * 	to set dept_name
	 * <br> 
	 * @return the dept_name : type of String
	 * </pre>
	 */
	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getCalling_station_id()
	 * 	to get calling_station_id
	 * <br> 
	 * @return the calling_station_id : type of String
	 * </pre>
	 */
	public String getCalling_station_id() {
		return calling_station_id;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setCalling_station_id()
	 * 	to set calling_station_id
	 * <br> 
	 * @return the calling_station_id : type of String
	 * </pre>
	 */
	public void setCalling_station_id(String calling_station_id) {
		this.calling_station_id = calling_station_id;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getFramed_ip_address()
	 * 	to get framed_ip_address
	 * <br> 
	 * @return the framed_ip_address : type of String
	 * </pre>
	 */
	public String getFramed_ip_address() {
		return framed_ip_address;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setFramed_ip_address()
	 * 	to set framed_ip_address
	 * <br> 
	 * @return the framed_ip_address : type of String
	 * </pre>
	 */
	public void setFramed_ip_address(String framed_ip_address) {
		this.framed_ip_address = framed_ip_address;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getNas_ip_address()
	 * 	to get nas_ip_address
	 * <br> 
	 * @return the nas_ip_address : type of String
	 * </pre>
	 */
	public String getNas_ip_address() {
		return nas_ip_address;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setNas_ip_address()
	 * 	to set nas_ip_address
	 * <br> 
	 * @return the nas_ip_address : type of String
	 * </pre>
	 */
	public void setNas_ip_address(String nas_ip_address) {
		this.nas_ip_address = nas_ip_address;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getNas_port_no()
	 * 	to get nas_port_no
	 * <br> 
	 * @return the nas_port_no : type of String
	 * </pre>
	 */
	public String getNas_port_no() {
		return nas_port_no;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setNas_port_no()
	 * 	to set nas_port_no
	 * <br> 
	 * @return the nas_port_no : type of String
	 * </pre>
	 */
	public void setNas_port_no(String nas_port_no) {
		this.nas_port_no = nas_port_no;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getClient_ip_address()
	 * 	to get client_ip_address
	 * <br> 
	 * @return the client_ip_address : type of String
	 * </pre>
	 */
	public String getClient_ip_address() {
		return client_ip_address;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setClient_ip_address()
	 * 	to set client_ip_address
	 * <br> 
	 * @return the client_ip_address : type of String
	 * </pre>
	 */
	public void setClient_ip_address(String client_ip_address) {
		this.client_ip_address = client_ip_address;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getUser_policy_profile_name()
	 * 	to get user_policy_profile_name
	 * <br> 
	 * @return the user_policy_profile_name : type of String
	 * </pre>
	 */
	public String getUser_policy_profile_name() {
		return user_policy_profile_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setUser_policy_profile_name()
	 * 	to set user_policy_profile_name
	 * <br> 
	 * @return the user_policy_profile_name : type of String
	 * </pre>
	 */
	public void setUser_policy_profile_name(String user_policy_profile_name) {
		this.user_policy_profile_name = user_policy_profile_name;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getAuth_type()
	 * 	to get auth_type
	 * <br> 
	 * @return the auth_type : type of String
	 * </pre>
	 */
	public String getAuth_type() {
		return auth_type;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setAuth_type()
	 * 	to set auth_type
	 * <br> 
	 * @return the auth_type : type of String
	 * </pre>
	 */
	public void setAuth_type(String auth_type) {
		this.auth_type = auth_type;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getResult()
	 * 	to get result
	 * <br> 
	 * @return the result : type of String
	 * </pre>
	 */
	public String getResult() {
		return result;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setResult()
	 * 	to set result
	 * <br> 
	 * @return the result : type of String
	 * </pre>
	 */
	public void setResult(String result) {
		this.result = result;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getCause_code()
	 * 	to get cause_code
	 * <br> 
	 * @return the cause_code : type of String
	 * </pre>
	 */
	public String getCause_code() {
		return cause_code;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setCause_code()
	 * 	to set cause_code
	 * <br> 
	 * @return the cause_code : type of String
	 * </pre>
	 */
	public void setCause_code(String cause_code) {
		this.cause_code = cause_code;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getCause()
	 * 	to get cause
	 * <br> 
	 * @return the cause : type of String
	 * </pre>
	 */
	public String getCause() {
		return cause;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setCause()
	 * 	to set cause
	 * <br> 
	 * @return the cause : type of String
	 * </pre>
	 */
	public void setCause(String cause) {
		this.cause = cause;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.getQuarantine()
	 * 	to get quarantine
	 * <br> 
	 * @return the quarantine : type of String
	 * </pre>
	 */
	public String getQuarantine() {
		return quarantine;
	}

	/** <pre>
	 * Method : DB5_NetKeyDto.setQuarantine()
	 * 	to set quarantine
	 * <br> 
	 * @return the quarantine : type of String
	 * </pre>
	 */
	public void setQuarantine(String quarantine) {
		this.quarantine = quarantine;
	}

	@Override
	public String toString() {
		String delimiter = Constants.delimiter;

	    String res = StringUtil.rTrim(timestamp) + delimiter;
	    res += StringUtil.rTrim(user_name) + delimiter;
	    res += StringUtil.rTrim(user_real_name) + delimiter;
	    res += StringUtil.rTrim(dept_name) + delimiter;
	    res += StringUtil.rTrim(calling_station_id) + delimiter;
	    res += StringUtil.rTrim(framed_ip_address) + delimiter;
	    res += StringUtil.rTrim(nas_ip_address) + delimiter;
	    res += StringUtil.rTrim(nas_port_no) + delimiter;
	    res += StringUtil.rTrim(client_ip_address) + delimiter;
	    res += StringUtil.rTrim(user_policy_profile_name) + delimiter;
	    res += StringUtil.rTrim(auth_type) + delimiter;
	    res += StringUtil.rTrim(result) + delimiter;
	    res += StringUtil.rTrim(cause_code) + delimiter;
	    res += StringUtil.rTrim(cause) + delimiter;
	    res += StringUtil.rTrim(quarantine) + "\n";
	    
	    return res;
	}
}
